#ifndef _BRIDGE_RIGHT_ENTITY_H_
#define _BRIDGE_RIGHT_ENTITY_H_

#include "AbstractEntity.h"
#include "BridgeData.h"

class BridgeRightEntity : public AbstractEntity
{
public:
	int state;

	BridgeRightEntity(int id, int type, double x, double y);

	~BridgeRightEntity();

	//************************************
	// Method:    update
	// FullName:  BridgeRightEntity::update
	// Access:    virtual public 
	// Returns:   void
	// Qualifier:
	// Parameter: long time
	//************************************
	virtual void update(long time);

	//************************************
	// Method:    draw
	// FullName:  BridgeRightEntity::draw
	// Access:    virtual public 
	// Returns:   void
	// Qualifier:
	// Parameter: long time
	//************************************
	virtual void draw(long time);

	//************************************
	// Method:    getAbstractData
	// FullName:  BridgeRightEntity::getAbstractData
	// Access:    virtual public 
	// Returns:   AbstractData*
	// Qualifier:
	//************************************
	virtual AbstractData* getAbstractData();

private:
	BridgeData* _data;
	int _counter;
};


#endif